package com.axend.aerosense.common.connect.impl;

/**
 * 设备连接回调接口
 */
public interface IConnectCallback {

    int STATE_SUCCESS = 11;  //连接成功
    int STATE_FAILED = 12;  //连接失败
    int STATE_BROKEN = 13;  //连接中断

    //连接状态回调
    void state(int state);
    //获取到数据后的回调
    void readData(Object message);

}
